package com.arashivision.wifisdk;

import android.net.wifi.ScanResult;

import java.util.List;

/**
 * Created by vans on 4/6/18.
 */

public interface WifiSdkCallback
{
    /**
     * scan wifi result list
     * @param listResults {@link List<ScanResult>}
     */
    void onScanResult(List<ScanResult> listResults);
    /**
     * connect wifi result success
     * @param result {@link ScanResult}
     */
    void onConnectSuc(ScanResult result);
    /**
     * connect wifi result fail
     * @param result {@link ScanResult}
     */
    void onConnectFail(ScanResult result);
    /**
     * require password for new wifi result
     * @param result {@link ScanResult}
     */
    void onConnectRequirePwd(ScanResult result);
    /**
     *  wifi result not support
     * @param result {@link ScanResult}
     */
    void onNotSupport(ScanResult result);

    /**
     * forget wifi result success
     * @param result {@link ScanResult}
     */
    void onForgetSuc(ScanResult result);
    /**
     * forget wifi result fail
     * @param result {@link ScanResult}
     */
    void onForgetFail(ScanResult result);
    /**
     * change wifi result password success
     * @param result {@link ScanResult}
     */
    void changeWifiPwdSuc(ScanResult result);
    /**
     * change wifi result password fail
     * @param result {@link ScanResult}
     */
    void changeWifiPwdFail(ScanResult result);
}
